#序列 --  列表
#     -- 元组
#     --- 字典


list1 = ['Google', 'Runoob', 1997, 2000]
list2 = [456, 700, 200]
list3 = list1



print(list1[0])
print(list1[0:len(list1)])
print(max(list2))
print(list1 is  list3)



tup1 = ('Google', 'Runoob', 1997, 2000);
# 元组的元素不能修改


dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}
print(dict.values())
print(list(dict.values()))
print(dict['Cecil'])




person = {'name':'', 'id':0}
team = []

for i in range(3):
    x = person
    x['id'] = i
    team.append(x)

team[0]['name']  = 'Jack'
team[1]['name'] = 'Pony'
team[2]['name']  = 'Crossin'
print(team[0] is team[1])
print(team[1])


